package adapter_pattern;

/**
 * @author liwuji
 * @date 2023/12/8
 * @desc
 **/
public class AdapterPatternDemo {
    public static void main(String[] args) {
        V5Power v5Power = new V5PowerAdapter(new V220Power());
        Mobile mobile = new Mobile();
        mobile.inputPower(v5Power);
    }
}
